package com.javaear.beangenerator.render;

import com.javaear.beangenerator.Beaner;
import com.javaear.beangenerator.processor.JaxbReverseProcessor;

/**
 * render bean file from jaxb xml
 *
 * @author aooer
 */
public class JaxbRender extends AbstractRender {

    public Beaner raiseBeaner(String params) {
        JaxbReverseProcessor processor = new JaxbReverseProcessor();
        context.put("jaxb_param", params);
        processor.init(context);
        return processor.process();
    }

}
